package com.wn.common.model.dto.trade.payback;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
@ApiModel("借款项目信息")
public class BorrowRecordPayDTO {

    @ApiModelProperty("借款记录id")
    private Long id;

    @ApiModelProperty("借款人")
    private Long userId;

    @ApiModelProperty("借款人用户编码")
    private String userCode;

    @ApiModelProperty("借款项目编码")
    private String borrowRecordNo;

    @ApiModelProperty("借款期限")
    private Integer period;

    @ApiModelProperty("借款年化利率")
    private BigDecimal borrowerRate;

    @ApiModelProperty("平台佣金年化利率")
    private BigDecimal commissionRate;

    @ApiModelProperty("还款方式")
    private String repaymentWay;

    @ApiModelProperty("借款金额")
    private BigDecimal amount;
}